projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46655c9
)
(lookup_image): Set image's timestamp because it's
author
Gerd Moellmann
<gerd@gnu.org>
Sat, 25 Sep 1999 19:57:52 +0000
(19:57 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Sat, 25 Sep 1999 19:57:52 +0000
(19:57 +0000)
used when we look it up.
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index c0fb0f5cf2d3bb8eca26ad694c445b4b9ffa5585..e044810f8164fe1b8e6c493994de3dad2249d50a 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-6046,6
+6046,7
@@
lookup_image (f, spec)
int i;
unsigned hash;
struct gcpro gcpro1;
+ EMACS_TIME now;
/* F must be a window-system frame, and SPEC must be a valid image
specification. */
@@
-6122,6
+6123,10
@@
lookup_image (f, spec)
}
}
+ /* We're using IMG, so set its timestamp to `now'. */
+ EMACS_GET_TIME (now);
+ img->timestamp = EMACS_SECS (now);
+
UNGCPRO;
/* Value is the image id. */